//Read from a large file via stream

const fs = require('fs');
const readStream = fs.createReadStream('File Name.txt','utf8');
readStream.on('data',(chunk)=>{//fs.createReadStream会自动使数据流出，这里会自动监听到流出的数据
    console.log(chunk);
});